<template>
  <div class="container">
    文件上传
    <form id="form" action="http://localhost:8080/updateFile" method="post" enctype="multipart/form-data" target="_self">
        <input type="file" name="image" multiple @change="fileChange">
        <input type="submit">
    </form>
  </div>
</template>

<script setup>
function fileChange(e) {
  console.log(e.target.files)
}
</script>

<style lang="scss" scoped>
.container {
    padding: 20px;
    width: 100%;
    height: 100%;
}
</style>